package org.itboys.mobile.entity.mysql;




import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：jiangxiong
 * 日期：2017年10月26日
 * 联系方式 ：empty90911@126.com
 * 天街_钱包_区块链_交易记录_实体
 */
public class TianJieWalletBlock extends BaseMySqlEntity {
	
	//基础属性
    private Long memberId;//用户ID
    private BigDecimal baseAmount;//本金
    private BigDecimal ableAmount;//可用本金
    private BigDecimal blockNumber;//持币数量
    private Integer saleDay;//持币自动卖出天数。没有就从字典中获取
    public TianJieWalletBlock() {
    }

    public TianJieWalletBlock(Long memberId) {
        this.memberId = memberId;
    }

    public TianJieWalletBlock(Long memberId, BigDecimal baseAmount, BigDecimal ableAmount, BigDecimal blockNumber) {
        this.memberId = memberId;
        this.baseAmount = baseAmount;
        this.ableAmount = ableAmount;
        this.blockNumber = blockNumber;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public BigDecimal getBaseAmount() {
        return baseAmount;
    }

    public void setBaseAmount(BigDecimal baseAmount) {
        this.baseAmount = baseAmount;
    }

    public BigDecimal getAbleAmount() {
        return ableAmount;
    }

    public void setAbleAmount(BigDecimal ableAmount) {
        this.ableAmount = ableAmount;
    }

    public BigDecimal getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(BigDecimal blockNumber) {
        this.blockNumber = blockNumber;
    }

    public Integer getSaleDay() {
        return saleDay;
    }

    public void setSaleDay(Integer saleDay) {
        this.saleDay = saleDay;
    }
}
